<?php

namespace Database\Seeders;

use App\Models\AdminMenu;
use App\Models\AdminUser;
use Database\Factories\AdminUserFactory;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
        \App\Models\User::factory(50)->create();

        $this->call([
            AdminUserSeeder::class,
            AdminRoleSeeder::class,
            AdminPermissionSeeder::class,
            AdminMenuSeeder::class,
        ]);
    }
}
